# 导包
import requests

session = requests.session()
session.get(url="http://tpshop-test.itheima.net/index.php?m=Home&c=User&a=verify&type=user_reg")
response = session.post(url="http://tpshop-test.itheima.net/Home/User/reg.html",
                        headers={"Content-Type": "application/x-www-form-urlencoded"},
                        data={"scene": '1', "username": '13883388456', "verify_code": '8888',
                              "password": '123456', "password2": '123456'})
print(response.json())
session.close()
